package io.renren.service;

import io.renren.common.service.CrudService;
import io.renren.common.utils.Result;
import io.renren.dto.CollarmxDTO;
import io.renren.entity.CollarmxEntity;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 辅材领用明细表
 *
 * @author 罗胜平 781757616@qq.com
 * @since 1.0.0 2019-11-22
 */
public interface CollarmxService extends CrudService<CollarmxEntity, CollarmxDTO> {
     List<CollarmxDTO> seleCollarmx(Long collarId);
     void deleteOrder( Long order);
     HashMap details(long collarId,String  type);
     void updateOrder2(long orderId,long foodId,float purchaseNum);
     void delectOrder(long orderId,long foodId);
     CollarmxDTO getOrder(long orderId,long foodId);
}